﻿<classes>
  <class name="Invoice" assembly="TestCDefSolution.BO" table="tbInvoice" displayName="Invoice">
    <property name="InvoiceID" databaseField="InvoiceIDDBColName" displayName="Invoice ID Display Name" type="Guid" description="Prop Invoice ID Description" readWriteRule="WriteOnly"/>
    <property name="InvoiceString" databaseField="InvoiceStringDbColName" displayName="Invoice String Display NAme" type="String" description="Prop Invoice String Description" readWriteRule="WriteOnce" keepValuePrivate="true" compulsory="true"  default="Default Value">
      <rule name="InvoiceString">
        <add key="minLength" value="0" />
        <add key="maxLength" value="255" />
        <add key="patternMatch" value="@#" />
        <add key="patternMatchMessage" value="Pattern Match Message" />
      </rule>
      <simpleLookupList>
        <item display="LkUp List Item 1" value="L-Up1" />
        <item display="&#x9;LkUp List Item 2" value="L-Up2" />
        <item display="&#x9;LkUp List Item 3" value="L-Up3" />
      </simpleLookupList>
    </property>
    <primaryKey>
      <prop name="InvoiceID" />
    </primaryKey>
  </class>
  <class name="InvoiceItem" assembly="TestCDefSolution.BO" table="tbInvoice" displayName="Invoice Item">
    <property name="InvoiceItemID"/>
    <primaryKey>
      <prop name="InvoiceItemID" />
    </primaryKey>
  </class>
</classes>